package com.ruoyi.develop.lvDo.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.goodsOrderIn.domain.GoodsOrderIn;
import com.ruoyi.develop.goodsSaledo.domain.GoodsSaledo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 请购单对象 lv_do
 *
 * @author qh
 * @date 2024-08-09
 */
public class LvDo extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 合同编码 */
    @Excel(name = "合同编码")
    private String code;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String name;

    /** 合同id */
    @Excel(name = "合同id")
    private String mainId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String nos;

    /** 订单日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ddDate;

    /** 需求日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date subDate;


    /** 采购来源 */
    @Excel(name = "采购来源")
    private String source;

    /** 采购类型 */
    @Excel(name = "采购类型")
    private String type;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String ywType;

    /** 税率 */
    @Excel(name = "税率")
    private String tax;

    /** 客户id */
    @Excel(name = "客户id")
    private String customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 是否打款 */
    @Excel(name = "是否打款")
    private String isBuy;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal money;

    /** 定金 */
    @Excel(name = "定金")
    private BigDecimal dingjin;

    /** 剩余欠款 */
    @Excel(name = "剩余欠款")
    private BigDecimal shengyu;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal shuie;

    /** 总数量 */
    @Excel(name = "总数量")
    private BigDecimal counts;

    /** 总吨位 */
    @Excel(name = "总吨位")
    private BigDecimal dunwei;

    /** 供应商id */
    @Excel(name = "供应商id")
    private String supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 业务员 */
    @Excel(name = "业务员")
    private String userName;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String state;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkman;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String linktel;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 银行卡 */
    @Excel(name = "银行卡")
    private String moneycard;
    private String status;


    /** 铁件请购状态 */
    private String ironStatus;

    private String reason;
    private List<GoodsOrderIn> columns;
    private List<GoodsSaledo> goodsSaledoList;
    private String isdo;

    private String files;

    /** 是否实诚采购单 */
    private String genBuy;

    public String getGenBuy() {
        return genBuy;
    }

    public void setGenBuy(String genBuy) {
        this.genBuy = genBuy;
    }

    public String getFiles() {
        return files;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    public String getIsdo() {
        return isdo;
    }

    public void setIsdo(String isdo) {
        this.isdo = isdo;
    }

    public List<GoodsOrderIn> getColumns() {
        return columns;
    }

    public void setColumns(List<GoodsOrderIn> columns) {
        this.columns = columns;
    }

    public String getIronStatus() {
        return ironStatus;
    }

    public void setIronStatus(String ironStatus) {
        this.ironStatus = ironStatus;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setMainId(String mainId)
            {
            this.mainId = mainId;
            }

    public String getMainId()
            {
            return mainId;
            }
    public void setNos(String nos)
            {
            this.nos = nos;
            }

    public String getNos()
            {
            return nos;
            }
    public void setDdDate(Date ddDate)
            {
            this.ddDate = ddDate;
            }

    public Date getDdDate()
            {
            return ddDate;
            }
    public void setSubDate(Date subDate)
            {
            this.subDate = subDate;
            }

    public Date getSubDate()
            {
            return subDate;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setYwType(String ywType)
            {
            this.ywType = ywType;
            }

    public String getYwType()
            {
            return ywType;
            }
    public void setTax(String tax)
            {
            this.tax = tax;
            }

    public String getTax()
            {
            return tax;
            }
    public void setCustomerId(String customerId)
            {
            this.customerId = customerId;
            }

    public String getCustomerId()
            {
            return customerId;
            }
    public void setCustomerName(String customerName)
            {
            this.customerName = customerName;
            }

    public String getCustomerName()
            {
            return customerName;
            }
    public void setIsBuy(String isBuy)
            {
            this.isBuy = isBuy;
            }

    public String getIsBuy()
            {
            return isBuy;
            }
    public void setMoney(BigDecimal money)
            {
            this.money = money;
            }

    public BigDecimal getMoney()
            {
            return money;
            }
    public void setDingjin(BigDecimal dingjin)
            {
            this.dingjin = dingjin;
            }

    public BigDecimal getDingjin()
            {
            return dingjin;
            }
    public void setShengyu(BigDecimal shengyu)
            {
            this.shengyu = shengyu;
            }

    public BigDecimal getShengyu()
            {
            return shengyu;
            }
    public void setShuie(BigDecimal shuie)
            {
            this.shuie = shuie;
            }

    public BigDecimal getShuie()
            {
            return shuie;
            }
    public void setCounts(BigDecimal counts)
            {
            this.counts = counts;
            }

    public BigDecimal getCounts()
            {
            return counts;
            }
    public void setDunwei(BigDecimal dunwei)
            {
            this.dunwei = dunwei;
            }

    public BigDecimal getDunwei()
            {
            return dunwei;
            }
    public void setSupplierId(String supplierId)
            {
            this.supplierId = supplierId;
            }

    public String getSupplierId()
            {
            return supplierId;
            }
    public void setSupplierName(String supplierName)
            {
            this.supplierName = supplierName;
            }

    public String getSupplierName()
            {
            return supplierName;
            }
    public void setDeptId(String deptId)
            {
            this.deptId = deptId;
            }

    public String getDeptId()
            {
            return deptId;
            }
    public void setDeptName(String deptName)
            {
            this.deptName = deptName;
            }

    public String getDeptName()
            {
            return deptName;
            }
    public void setUserId(String userId)
            {
            this.userId = userId;
            }

    public String getUserId()
            {
            return userId;
            }
    public void setUserName(String userName)
            {
            this.userName = userName;
            }

    public String getUserName()
            {
            return userName;
            }
    public void setState(String state)
            {
            this.state = state;
            }

    public String getState()
            {
            return state;
            }
    public void setLinkman(String linkman)
            {
            this.linkman = linkman;
            }

    public String getLinkman()
            {
            return linkman;
            }
    public void setLinktel(String linktel)
            {
            this.linktel = linktel;
            }

    public String getLinktel()
            {
            return linktel;
            }
    public void setIdcard(String idcard)
            {
            this.idcard = idcard;
            }

    public String getIdcard()
            {
            return idcard;
            }
    public void setMoneycard(String moneycard)
            {
            this.moneycard = moneycard;
            }

    public String getMoneycard()
            {
            return moneycard;
            }

    public List<GoodsSaledo> getGoodsSaledoList() {
        return goodsSaledoList;
    }

    public void setGoodsSaledoList(List<GoodsSaledo> goodsSaledoList) {
        this.goodsSaledoList = goodsSaledoList;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("code",getCode())
            .append("name",getName())
            .append("mainId",getMainId())
            .append("nos",getNos())
            .append("ddDate",getDdDate())
            .append("subDate",getSubDate())
            .append("type",getType())
            .append("ywType",getYwType())
            .append("tax",getTax())
            .append("customerId",getCustomerId())
            .append("customerName",getCustomerName())
            .append("isBuy",getIsBuy())
            .append("money",getMoney())
            .append("dingjin",getDingjin())
            .append("shengyu",getShengyu())
            .append("shuie",getShuie())
            .append("counts",getCounts())
            .append("dunwei",getDunwei())
            .append("supplierId",getSupplierId())
            .append("supplierName",getSupplierName())
            .append("deptId",getDeptId())
            .append("deptName",getDeptName())
            .append("userId",getUserId())
            .append("userName",getUserName())
            .append("state",getState())
            .append("linkman",getLinkman())
            .append("linktel",getLinktel())
            .append("idcard",getIdcard())
            .append("moneycard",getMoneycard())
        .toString();
    }
}
